<h1>Редактирование фотоальбома {$model->name}</h1>

<div class="form">

{WidgetActiveForm id="photoalbum-edit-form" enableAjaxValidation=0 model=$model}
        
        {afErrorSummary}

	<div class="row">
                {afLabelEx property='name'}
                {array assign="attr" maxlength=25 class="small"}
                {afTextField property='name' attr=$attr}
                {afError property='name'}
	</div>

	<div class="row buttons">
            {array assign="htmlOptions" class="popup-button submit"}
            {chtmlLink text="<span>Сохранить</span>" url="#" htmlOptions=$htmlOptions}
	</div>

{/WidgetActiveForm}

</div>